package cn.lystudio.rohm_time_op.service;

import cn.lystudio.rohm_time_op.entity.dto.AbnormalItemDTO;
import cn.lystudio.rohm_time_op.entity.po.AbnormalItemPO;

import java.util.List;

public interface AbnormalItemService {
    List<AbnormalItemDTO> getAll(String keyword);
    int uptAbnormalItemEnabled(Integer abnormalItemID, Boolean enabled);
    int delAbnormalItem(Integer abnormalItemID);
    int addAbnormalItem(AbnormalItemPO abnormalItemPO);
    int uptAbnormalItem(AbnormalItemPO abnormalItemPO);
    List<AbnormalItemDTO> getAbnormalItemListByMachineNo(String machineNo);
    AbnormalItemDTO getAbnormalItemByOpItemNameAndMachineNo(String opItemName, String machineNo);

}
